$OpenBSD: patch-src_build-data_os_openbsd_txt,v 1.3 2017/04/10 11:10:33 bluhm Exp $
--- src/build-data/os/openbsd.txt.orig	Wed Apr  5 03:09:22 2017
+++ src/build-data/os/openbsd.txt	Sun Apr  9 23:59:46 2017
@@ -2,7 +2,7 @@ os_type unix
 
 soname_pattern_base  "libbotan-{version_major}.so"
 soname_pattern_abi   "libbotan-{version_major}.so.{abi_rev}"
-soname_pattern_patch "libbotan-{version_major}.so.{abi_rev}.{version_minor}"
+soname_pattern_patch "libbotan-{version_major}.so.${LIBbotan-2_VERSION}"
 
 <target_features>
 arc4random
